<template >
    <div>
        <ul>
            <!-- <li>消息编号：{{$route.params.id}}</li>
            <li>消息内容：{{$route.params.msg}}</li> -->
            <li>消息编号：{{id}}</li>
            <li>消息内容：{{msg}}</li>
        </ul>
    </div>
</template>
<script>
export default {
    name:'Detail',
    props:['id','msg'],
    mounted() {
        console.log(this.$route)
    },
}
</script>
